home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobycastillotenebroso.swf / scripts / DefineSprite_1240 / frame_9 / PlaceObject2_738_597 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2007-10-01  |  582b  |  16 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.witness) && eval("_root.controler:witness_detection") == true)
  3.    {
  4.       set("_root.controler:witness_detection",false);
  5.       if(eval("_parent.chimney:chimney_chandelier") == false)
  6.       {
  7.          _parent.chimney.gotoAndPlay("fright");
  8.          set("_root.controler:Scooby_runs",false);
  9.          set("_root.controler:Scooby_walks",false);
  10.          set("_root.controler:Scooby_cautious",false);
  11.          set("_root.controler:Scooby_scared",true);
  12.          set("_root.controler:Scooby_stops",false);
  13.       }
  14.    }
  15. }
  16.